-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
d/aws_nat_gateway: Add missing address attributes to the schema #2209
Conversation
* address attributes were not listed in the schema which prevented them from being referenced
This just bit me and was trying to work out why the I've not built this from your branch but it might be worth expanding the acceptance test to make sure that these attributes actually are exported. |
👍 Ill look for an example |
@darend Thanks for the PR, as @tomelliff mentioned having acceptance test would be incredibly helpful. See this example: It's ok to just add |
@radeksimko test updated and passed:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @darend
This looks very good to me, thanks for the work! 👍 🚀
$ make testacc TEST=./aws TESTARGS='-run=TestAccDataSourceAwsNatGateway'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -run=TestAccDataSourceAwsNatGateway -timeout 120m
=== RUN TestAccDataSourceAwsNatGateway
--- PASS: TestAccDataSourceAwsNatGateway (258.06s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 258.102s
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
what
Include Address attributes in NAT Gateway data source
why
Address attributes were not listed in the schema which prevented them from being referenced
Sample TF Project
Running terraform with DEBUG logging I see this warning:
See #1294 (comment)